home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’95 / Closure / Sources / GX Headers / qd library.h < prev   
Encoding:
C/C++ Source or Header  |  1995-06-24  |  1.6 KB  |  63 lines  |  [TEXT/MMCC]

  1. /*
  2.     File:        qd library.h
  3.  
  4.     Copyright:    © 1984-1994 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef qdLibraryIncludes
  13. #define qdLibraryIncludes
  14.  
  15. #ifndef powerc
  16.  #pragma pointers_in_D0                            
  17. #endif
  18.  
  19. #ifndef graphicsTypesIncludes
  20. #include "graphics types.h"
  21. /*    #include "math types.h"                                        */
  22. /*        #include <Types.h>                                        */
  23. /*            #include <ConditionalMacros.h>                        */
  24. /*            #include <MixedMode.h>                                */
  25. /*                #include <Traps.h>                                */
  26. #endif
  27.  
  28. #ifndef __QUICKDRAW__
  29. #include <Quickdraw.h>
  30. /*    #include <QuickdrawText.h>                                    */
  31. /*        #include <IntlResources.h>                                */
  32. #endif
  33.  
  34. #ifndef powerc
  35.  #pragma pointers_in_A0                            
  36. #endif
  37.  
  38. #ifdef __cplusplus
  39. extern "C" {
  40.     #endif
  41.  
  42. extern gxPoint *ShortPointToFixed(const Point *, gxPoint *);
  43. extern Point *FixedPointToShort(const gxPoint *, Point *);
  44. extern gxRectangle *ShortRectToFixed(const Rect *, gxRectangle *);
  45. extern Rect *FixedRectToShort(const gxRectangle *, Rect *);
  46. extern gxColorSet CTableToColorSet(const CTabHandle);
  47. extern CTabHandle ColorSetToCTable(const gxColorSet);
  48. extern gxBitmap *ConvertFromQDBitmap(const BitMap *, gxBitmap *);
  49. extern BitMap *ConvertToQDBitmap(const gxBitmap *, BitMap *);
  50. extern gxShape BitMapToShape(const BitMap *);
  51. extern gxShape PixMapToShape(const PixMapHandle);
  52. extern gxShape GetPixMapShape(short resourceID);
  53. extern gxShape CICNToMask(CIconHandle iconH);
  54. extern gxShape CICNToShape(CIconHandle iconH);
  55. extern gxShape GetCICNMask(long resourceID);
  56. extern gxShape GetCICNShape(long resourceID);
  57.     #ifdef __cplusplus
  58. }
  59.     #endif
  60.  
  61. #endif
  62.  
  63.